home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / net / HttpRetryException.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  537 b   |  32 lines

  1. package java.net;
  2.  
  3. import java.io.IOException;
  4.  
  5. public class HttpRetryException extends IOException {
  6.    private int responseCode;
  7.    private String location;
  8.  
  9.    public HttpRetryException(String var1, int var2) {
  10.       super(var1);
  11.       this.responseCode = var2;
  12.    }
  13.  
  14.    public HttpRetryException(String var1, int var2, String var3) {
  15.       super(var1);
  16.       this.responseCode = var2;
  17.       this.location = var3;
  18.    }
  19.  
  20.    public int responseCode() {
  21.       return this.responseCode;
  22.    }
  23.  
  24.    public String getReason() {
  25.       return super.getMessage();
  26.    }
  27.  
  28.    public String getLocation() {
  29.       return this.location;
  30.    }
  31. }
  32.